package com.mcxx.modules.minimumliving.service;

import com.mcxx.modules.miniSalvation.family.dto.BankAccountDTO;
import com.mcxx.modules.miniSalvation.family.dto.BankDTO;
import com.mcxx.modules.miniSalvation.family.dto.SpeedProgressDTO;
import com.mcxx.modules.miniSalvation.family.entity.BankEntity;
import com.mcxx.modules.miniSalvation.family.param.BankParam;
import com.mcxx.result.BaseResult;
import com.yinhai.ta404.component.audit.vo.ExcelInfo;
import com.yinhai.ta404.core.restservice.requestbean.PageParam;
import com.yinhai.ta404.core.restservice.resultbean.Page;
import com.yinhai.ta404.core.security.vo.UserAccountVo;

import java.util.List;


public interface BankService {


    Page getBankPage(UserAccountVo userAccountVo, BankParam param, PageParam pageParam);

    Page getBankPageMin(UserAccountVo userAccountVo, BankParam param, PageParam pageParam);


    void updateBankInfo(BankEntity bankEntity,UserAccountVo userAccountVo);

    BaseResult<List<SpeedProgressDTO>> getSpeedProgress(String businessCode,String userId);


    BankEntity getBankById(String id);


    BankEntity getBankByFamilyId(String id,String memberId,String businessCode);

    ExcelInfo exportBank(BankParam param, UserAccountVo accountVo);

    Page getTempBankPage(UserAccountVo curUserAccount, BankParam param, PageParam pageParam);
}
